home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
More Anime Pin-Up Beauties
/
More Anime Pin-Up Beauties.iso
/
mac
/
WEST
/
GPX04.dir
/
00200_Script_200
< prev
next >
Wrap
Text File
|
1998-06-22
|
3KB
|
144 lines
-- For SLIDE SHOW
-- ++++++++++++++++++++++++++++++++ initialize of SLD BOX
on initSLD
global gPathItem
global gSLDnum
global gSLDint
global gSLDply
global gWait
cursor 4
aiffSound(5)
chgScene("PL-000", the frame + 1, gPathItem & "BGA00")
-- Wait Slider
puppetSprite 9,TRUE
set the locV of sprite 9 to (416 + gWait - 1)
upDateStage
-- Position Slider
placeSLD()
puppetSprite 20,TRUE
set the visibility of sprite 20 to FALSE
upDateStage
dispSLD(0)
put 1 into gSLDply
cursor -1
-- ++++++++++++++++++++++++++++++++ termination of SLIDE SHOW
on termSLD
cursor 4
erasePictSLD()
--clrPicture("SLD.PICT")
repeat with n = 2 to 24
puppetSprite n, FALSE
end repeat
go to frame "000"
-- ++++++++++++++++++++++++++++++++ place Position Slider
on placeSLD
global gSLDnum
puppetSprite 8,TRUE
set the locV of sprite 8 to (198 + ((gSLDnum - 1) *2))
upDateStage
-- ++++++++++++++++++++++++++++++++ get New Pict
on dispSLD vDelta
global gSLDnum
put gSLDnum + vDelta into vN
if (vN < 1) then
put 98 into vN
end if
if (vN > 98) then
put 1 into vN
end if
put vN into gSLDnum
erasePictSLD()
dispPictSLD(gSLDnum)
placeSLD()
startTimer
-- ++++++++++++++++++++++++++++++++ Loop check & get newPict
on loopSLD
global gSLDint
global gSLDnum
global gWait
global gSLDply
--aiffSound(1)
if (gSLDply = 0) then
return
exit
end if
if (the timer > (gWait*60)) then
dispSLD(1)
end if
-- ++++++++++++++++++++++++++++++++ Start/Stop SLIDE show
on contSLD mode
global gSLDply
if ((gSLDply = 0) AND (mode = 1)) then
dispSLD(1)
end if
put mode into gSLDply
-- ++++++++++++++++++++++++++++++++ Drag Wait Slider
on waitSLD
global gWait
put (the locV of sprite clickOn() - the mouseV) into V
repeat while the stillDown
put (the mouseV + V) into vNewV
if (vNewV < 416) then
put 416 into vNewV
end if
if (vNewV > 463) then
put 463 into vNewV
end if
set the locV of sprite clickOn() to vNewV
upDateStage
put (vNewV - 416 + 1) into gWait
end repeat
-- ++++++++++++++++++++++++++++++++ Drag Position Slider
on posSLD
global gSLDnum
put (the locV of sprite clickOn() - the mouseV) into V
repeat while the stillDown
put (the mouseV + V) into vNewV
if (vNewV < 198) then
put 198 into vNewV
end if
if (vNewV > 392) then
put 392 into vNewV
end if
set the locV of sprite clickOn() to vNewV
upDateStage
put (((vNewV -198)/2) + 1) into gSLDnum
end repeat
dispSLD(0)